﻿using System.Collections.Generic;
using System.Threading.Tasks;
using XBLMS.Models;

namespace XBLMS.Repositories
{
    public partial interface IUserGroupRepository
    {
        Task<UserGroup> GetAsync(int id);
        Task<bool> IsExistsAsync(string groupName);

        Task<int> GetGroupIdAsync(string groupName);

        Task<string> GetUserGroupNameAsync(int groupId);
        Task<List<UserGroup>> GetListAsync();
    }
}
